home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 43
/
Amiga Format CD43 (1999)(Future Publishing)(GB)(Track 1 of 2)[!][issue 1999-09].iso
/
-serious-
/
programming
/
e
/
speedtests
/
for.e
< prev
next >
Wrap
Text File
|
1999-06-14
|
304b
|
22 lines
MODULE '*testspeed'
CONST LOTS_OF_TIMES=100000
DEF x
PROC main()
test({forendfor}, 'FOR & ENDFOR', LOTS_OF_TIMES)
test({fordo}, 'FOR & DO', LOTS_OF_TIMES)
ENDPROC
PROC forendfor()
FOR x:=0 TO 100
Mul(13,4652)
ENDFOR
ENDPROC
PROC fordo()
FOR x:=0 TO 10 DO Mul(13,4652)
ENDPROC